package com.gxa.ehome.entity;

import java.util.Date;

public class Admin {
    private Integer id;
    private String  name;
    private  String pwd;
    private  String salt;
    private  String phone;
    private Date reTime;

    public Admin() {
    }

    public Admin(String name, String pwd, String salt, String phone) {
        this.name = name;
        this.pwd = pwd;
        this.salt = salt;
        this.phone = phone;
    }

    public Admin(String name, String pwd, String salt, String phone, Date reTime) {
        this.name = name;
        this.pwd = pwd;
        this.salt = salt;
        this.phone = phone;
        this.reTime = reTime;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPwd() {
        return pwd;
    }

    public void setPwd(String pwd) {
        this.pwd = pwd;
    }

    public String getSalt() {
        return salt;
    }

    public void setSalt(String salt) {
        this.salt = salt;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public Date getReTime() {
        return reTime;
    }

    public void setReTime(Date reTime) {
        this.reTime = reTime;
    }

    @Override
    public String toString() {
        return "Admin{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", pwd='" + pwd + '\'' +
                ", salt='" + salt + '\'' +
                ", phone='" + phone + '\'' +
                ", reTime=" + reTime +
                '}';
    }
}
